switchroot/generator: Add var.mount to local-fs.target.requires
authorColin Walters <walters@verbum.org>
Wed, 17 May 2017 01:44:22 +0000 (21:44 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 17 May 2017 13:53:54 +0000 (13:53 +0000)
commit1a8f2f0769fd97c59b3d5e25f6be62c586ca6c06
treeb73a1fa821b6c2aaf493541a8d700194364dd765
parent28e30712564278807bb2fb71ea08bc1d127b83f0
switchroot/generator: Add var.mount to local-fs.target.requires

Unbreaks mounting in CentOS. Newer systemd in Fedora pulls didn't need this, I
think due to `RequiresMountsFor=`. Anyways, this is what the fstab generator
does, and it's clearly right ✓.

Closes: https://github.com/ostreedev/ostree/issues/867
Closes: #869
Approved by: jlebon
src/libostree/ostree-impl-system-generator.c